package com.wgchao.authprovider.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.*;
import java.util.Date;

/**
 * @Description  
 * @Author  Wgchao
 * @Date 2019-08-10 
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@Entity
@Table ( name ="sys_user" )
public class SysUser  implements Serializable {

	private static final long serialVersionUID =  7190918476159488825L;

	/**
	 * 用户编号
	 */
   	@Column(name = "user_id" )
	private Long userId;

	/**
	 * Par机构编号
	 */
   	@Column(name = "Paragency_id" )
	private Long paragencyId;

	/**
	 * 创建用户编号
	 */
   	@Column(name = "create_user" )
	private Long createUser;

	/**
	 * 更新用户编号
	 */
   	@Column(name = "update_user" )
	private Long updateUser;

	/**
	 * 用户名
	 */
   	@Column(name = "user_name" )
	private String userName;

	/**
	 * 帐户名
	 */
   	@Column(name = "uname" )
	private String uname;

	/**
	 * 登陆密码
	 */
   	@Column(name = "password" )
	private String password;

	/**
	 * 创建时间
	 */
   	@Column(name = "create_time" )
	private Date createTime;

	/**
	 * 删除时间
	 */
   	@Column(name = "del_time" )
	private Date delTime;

	/**
	 * 联系电话
	 */
   	@Column(name = "tel" )
	private String tel;

}
